package com.rd.sys.common.web.menu;

import java.io.Serializable;
import java.util.List;

/**
 * The Class ChildGroup.
 */
public class ChildGroup implements Serializable {

    /** The Constant serialVersionUID. */
    private static final long serialVersionUID = -583859114726217490L;

    /** 二级菜单名称. */
    private String name;

    /** 如果无三级菜单，则二级菜单包含url属性. */
    private String url;

    /** 如果无三级菜单，则含id属性，用于打开tab页时的唯一标识. */
    private String id;

    /** 三级菜单. */
    private List<Item> items;

    /**
     * Gets the items.
     * 
     * @return the items
     */
    public List<Item> getItems() {
        return items;
    }

    /**
     * Gets the url.
     * 
     * @return the url
     */
    public String getUrl() {
        return url;
    }

    /**
     * Sets the url.
     * 
     * @param url
     *            the new url
     */
    public void setUrl(String url) {
        this.url = url;
    }

    /**
     * Sets the items.
     * 
     * @param items
     *            the new items
     */
    public void setItems(List<Item> items) {
        this.items = items;
    }

    /**
     * Gets the name.
     * 
     * @return name
     */
    public String getName() {
        return name;
    }

    /**
     * Sets the name.
     * 
     * @param name
     *            要设置的 name
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * Gets the id.
     * 
     * @return the id
     */
    public String getId() {
        return id;
    }

    /**
     * Sets the id.
     * 
     * @param id
     *            the new id
     */
    public void setId(String id) {
        this.id = id;
    }

}
